-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Luks2 enablement #1380
Luks2 enablement #1380
Conversation
Sorry for taking so long to review this. I'm starting now. At first sight I must say this is more intrusive than what I tried to suggest at yast/yast-installation#1088 (comment) What I suggested was making the encryption details (eg. use LUKS2) configurable:
But what I see here goes further. What I see with a first sight at the code (I may be wrong, so take things with a bit of grain).
Anyway, I will continue with the review now. |
I also think this change should be much easier:
|
So basically I meant #1383 (it was easy to implement based on this pull request but keeping the changes minimal). |
I am happy that you have time for it again. After a so long time I would like to come to an end even it could be a "minimal" solution. ;-)
Yes, you are right, but I have not found any other general solution for requesting the password if encryption (LUKS1/LUGS2) has been set by the product descriptions. I am really open for suggestions here..... |
First, let me double check I understand what's your intention. You want that anyone installing openSUSE Tumbleweed (or any other product configured in the same way, for that matter) always gets a screen asking for the encryption password at a relatively early stage of the installation process, so that password is then used for the initial storage proposal. That possibility is not contemplated by the current installation workflow because none of the steps of the workflow make that possible. So you will need to change the installation workflow introducing a new YaST client (maybe replacing one of the current ones). I'm pretty sure you (@schubi2) know what the installation workflow is. But let me go into the details for other readers landing here. As we all know, everything about the installation process is configured at control.xml (stuff like the repositories to use, whether to use Btrfs or snapshots, etc.). And actually the most important aspect defined on that control.xml is the workflows for installing, for upgrading and so on. That's basically the sequence of steps (YaST clients) that are executed during installation. For Tumbleweed installation such a sequence can be found here. https://github.com/yast/skelcd-control-openSUSE/blob/master/control/control.xml#L738 That's the reason why the TW installation process looks like this (including the name of each YaST client):
You can create your own YaST client asking for the encryption password and introduce the client as a step before the If you prefer, instead of adding an installation step, you could even fully substitute the I hope that answers your question. If not, I hope it's at least illustrative information for someone. :-) One final remark, if you introduce a completely new YaST client as mandatory in the Tumbleweed installation workflow then get ready to get all bugzilla reports redirected at you. ;-) It's quite a fundamental change for the distribution. |
Yes Ancor, you have summarised my intentions correctly and you have convinced me. :-) |
We have come to the decision to use |
I have tried to fulfill the requirements of
yast/yast-installation#1088 (comment)
(encryption_method and encryption_pbkdf) in order to set encryption while
proposal. Default is no encryption.
Docu:
yast/yast-installation-control#126
yast/yast-installation#1115